<style>
.typeitem{	
	text-align:left;
	padding:0.5rem;
	background:#fff;
	background: var(--s-color-bg-primary,#fff);
    border: 1px solid rgba(0,0,0,.08);
    border: 1px solid var(--s-color-border-tertiary,rgba(0,0,0,.08));
}
.typeitem.active{
    border: 1px solid {{main.syscolor || '#7c1cc9'}};
}
</style>
<div class="fui-cell-group radius">
	<div ng-repeat="item in pagedata.list" class="fui-cell" style="padding:0.35rem;">
		<div class="fui-cell-lable" style="width:auto;padding-right: 0.3rem;">
			<img style="border-radius: 100%;width:3.3rem;height:3.3rem" ng-src="{{tomedia(item.goods.image) || '../addons/jy_aiagent/resource/images/goods.png'}}" />
		</div>
		<div class="fui-cell-text" style="">
			<div class="bold">{{item.goods.title}}</div>
			<div class="bold">{{item.alias||'设备名称'}}</div>
			<div class="gray">智能体：{{item.agent.title||'默认智能体'}}</div>
			<div class="gray">Mac地 址：{{item.macsn||'***.***.***.***'}}</div>
			<div class="gray">固件版本：{{item.gu_v||'1.7.2'}}</div>
		</div>
	</div>
	<div class="content-empty" ng-show="!pagedata.list || pagedata.list.length == 0 ">
		<img style="border-radius: 100%;width:2rem;height:2rem" src="../addons/jy_aiagent/resource/images/goods.png" />
		<div style="padding-top:0.3rem;color: #999;font-size: .75rem">您暂时没有设备</div>
	</div>
</div>
<script>
scope.tool.get_list('jy_aiagent/mygoods/getlist/',true);
scope.pagedata.scroll_bottom=function(){
		scope.tool.get_list('jy_aiagent/mygoods/getlist/');
}
</script>